@import '../../styles/theme.scss';

.home-page {
  height: 100%;
  box-sizing: border-box;
  position: relative;
  -webkit-overflow-scrolling: touch;

  .home_relative_wrapper {
    background-color: transparent;
  }

  .home_sticky_wrapper {
    width: calc(100% - 84px);
    position: fixed;
    z-index: 2;
    background-color: #fff;
    // top: 5px;
    // left: 0;
    .recommend_box_tab_tag {
      border-radius: 0 !important;
    }
  }

  .home_wrapper {
    width: 100%;
    padding: 0 42px;
    box-sizing: border-box;
  }

  .home_time_title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: $primary-color;
    // margin-bottom: 16px;
    padding: 16px 0;

    .home_time {
      font-size: 38px;
      font-weight: 700;
    }

    .home_time_more {
      font-size: 30px;
      font-weight: 700;
    }
  }

  .home_new_title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: $primary-color;
    // margin-bottom: 16px;
    padding: 36px 0;

    .home_new {
      font-size: 34px;
      font-weight: 700;
    }

    .home_new_more {
      font-size: 32px;
      font-weight: 700;
    }
  }

  .recommend_box_tab {
    // height: 66px;
    // padding: 8px 0;
    white-space: nowrap;
    display: flex;
    box-sizing: border-box;
    padding-bottom: 24px;
    background: #fff;
    height: 104px;

    .recommend_box_tab_tag {
      display: inline-block;
      box-sizing: border-box;
      height: 80px;
      line-height: 80px;
      padding: 0 42px;
      font-size: 30px;
      border-radius: 32px;
      background: #f4f4f4;
      color: $primary-color;
      transition: all 150ms;
      margin-right: 18px;
    }

    .recommend_box_tab_tag_active {
      background: $primary-color;
      color: #fff;
    }
  }

  .home_product_content {
    .home_product_content_item {
      display: flex;
      width: 100%;
      box-sizing: border-box;
      min-width: 0;
      overflow: hidden;
      margin-bottom: 30px;

      .home_product_content_item_left {
        .home_product_content_item_avator {
          width: 240px;
          height: 240px;
          margin-right: 32px;
          border-radius: 24px;
        }
      }

      .home_product_content_item_right {
        flex: 1;
        min-width: 0;
        position: relative;

        .home_product_content_item-title {
          font-size: 32px;
          line-height: 46px;
          color: $dark;
          @include lamp-clamp(2);
          // display: block;
          font-weight: 700;
          word-break: break-all;
          margin-bottom: 12px;
        }

        .home_product_content_item-desc {
          font-size: 26px;
          line-height: 32px;
          color: $text-color-lighter;
          // @include text-ellipsis();
          @include lamp-clamp(2);
          margin-bottom: 16px;
          word-break: break-all;
        }

        .home_product_content_item_like {
          position: absolute;
          right: 30px;
          bottom: 24px;

          .like-icon {
            display: block;
            color: rgb(34, 34, 34);
            line-height: 50px;
            height: 50px;
            font-size: 47px;
          }
        }

        .home_product_content_item_time {
          position: absolute;
          left: 0px;
          bottom: 24px;
          color: $primary-color;
          // color: #fff;
          // background-color: $primary-color;
          height: 40px;
          line-height: 40px;
          padding: 0 10px;
          // font-weight: bold;
          vertical-align: bottom;

          .month {
            font-size: 24px;
            display: inline-block;
          }

          .day {
            font-size: 28px;
            display: inline-block;
          }
        }
      }
    }
  }

  .home_time_content {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .home_time_content_item {
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 100% 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 32px;
      width: 50%;
      margin: 0 16px;
      height: 180px;
      border-radius: 16px;
      box-shadow: 10 rpx 5px 40 rpx rgba(0, 0, 0, 0.5);
      font-weight: 600;
    }

    .home_time_content_item1 {
      background-image: url('https://qiniuqianshop.fortunemy.top/pexels-martin-p%C3%A9chy-2078266.jpg');
      // margin-right: 32px;
      margin-left: 0;
    }

    .home_time_content_item2 {
      background-image: url('https://qiniuqianshop.fortunemy.top/pexels-tirachard-kumtanom-347139.jpg');
      // margin-left: 32px;
      margin-right: 0;
    }
  }
}

page {
  .volume-plus {

  }

  .at-noticebar__content-inner {
    font-size: 30px;
    color: #2e2d2d;
    font-weight: bolder;
    // color: $primary-color;
  }

  .qian_noticebar {
    background-color: #fff;
    width: 70vw;
    // background: rgb(246, 238, 221);
  }
}
